﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZX.BLL.Extend;
using ZX.EHR.Library;

namespace ZX.CRM.Bussiness
{
    public class BDatDepartment : BaseBussnies
    {
        /// <summary>
        /// 获取分公司
        /// </summary>
        /// <returns></returns>
        public IList<DatDepartment> GetAllDatDepartmentByDeptType()
        {
            this.entity = new DatDepartment();
            return GetEntitysBySqlComm<DatDepartment>("select * from DatDepartment where deptType=1 order by DeptName");
        }
    }
}
